public class shape
{
    double area()
    {
        return 0;
    }

    double perimeter()
    {
        return 0;
    }

    public static void main(String[] args)
    {
        Triangle t = new Triangle();
        System.out.println(t.toString(3,4,5));
        Circle c = new Circle();
        System.out.println(c.toString(3));
        Rectangle r = new Rectangle();
        System.out.println(r.toString(3, 4));
    }
}



